package com.bus.core.common;

import lombok.Data;

import javax.persistence.MappedSuperclass;
import javax.persistence.Version;

/**
 * 通用表模型
 *
 * @author bom
 * @date 2021-12-31
 */
@MappedSuperclass
@Data
public class CommonSuper {
    @Comment("创建者id")
    private String creator;
    @Comment("创建时间")
    private String createAt;
    @Comment("最近修改人")
    private String lastUpdater;
    @Comment("最近修改时间")
    private String lastUpdateAt;
    @Comment("删除状态")
    private Integer del;
    @Comment("拓展状态")
    private String ext;
    @Comment("版本号")
    @Version
    private Integer version;
}
